Added feature to allow proxy to bind to "any free open port"
Don't print exceptions to stderr
* Adding all improvements from pull request #170
* Adding unittest to verify that it works
* Discovered bug #183