Fix some other problems with GNU TLS and non blocking sockets.