Fixed socket writer/reader encryption
Fixed client socket interceptor. Added member and client socket interceptor tests.
Merge pull request #880 from mdogan/fix/3.1/socket-interceptor

Fixed client socket interceptor. Added member and client socket intercep...
Merge pull request #882 from mdogan/fix/3.1/encryption

Fixed and improved socket writer/reader encryption.