Reduce server memory usage

We introduce lazyness so that the work bytes are used as a flyweight
More configurations for server hardening

Added timeouts for initalisation and authorisation, improves server
performance during restarts (only send further work updates once clients
reply).
Use MVar to prevent Chan leaking
Merge branch 'master' of https://github.com/dogestreet/proxypool into vertcoin