fix(net.Socket): add isConnected boolean

and fix tls.connect if the socket is already connected