Leaving a socket in blocking mode after a connect caused SSL/SMTP
to block a thread causing send message to fail when SSL was enabled.
Now we re-set the socket to the non-blocking state it came in with
to connect and set it to block for our write method only.
git-svn-id: svn://10.0.0.236/trunk@97068 18797224-902f-48f8-a5cc-f745e15eee43