Add nonblocking connect support
Shut up OpenSSL deprecation warnings on OS X >= 10.7