Nj/proxy support

- Allow :proxy as a valid argument
- Proper implementation of proxy, support both SSL and non-SSL connections