add proxy
Add proxy to docs
fix and add proxy type
fix on tunnel function
Cleanups of proxy configuration.