Catch wrapped SocketExceptions when SslStream.Write is being used.
Merge pull request #205 from allthedrones/master

Catch wrapped SocketExceptions when SslStream.Write is being used.