fix for SocketImpl usage

Hey,

this is my first commit now. When using JTorSocketImpl the connection manager also creates a SSLSocket by using this factory. I copied the "createOriginalSocket" method from silvertunnel and integrated it for JTor. I also wrote a little test script for myself to ensure that this will work.

The flags "isConnected" and "isClosed" where deleted, because you can check these flags from the socket itself.

Keep up this excellent work, it's awesome! :)