Added unit test.
Converted logger to SLF4j adapter.
Additional exception handling to catch handshake issues, since remote server requires JCE Unlimited Strength