SSL proxy

Add support for SSL proxy
Destory socket when tunnel is closed
remove arguments

not necessary arguments. remove them.
Merge pull request #190 from bowdev/master

SSL proxy