refactor : moved socks4a code
refactor : add connectRemote