add proxy support and proxy test
run go fmt
Merge pull request #60 from sschepens/proxy

Add proxy support