return the underlying write() result from connection._send when encryption is enabled
Merge pull request #134 from gfxmonk/write-return-value

return the underlying write() result from connection._send when encryption is enabled