Added HTTP proxy support
Some refactoring of proxy code
Further refactoring of proxy code
Don't populate path nodes too much.
Add function to get nodes from onion path.
Onion client improvements.

Put bootstrap nodes in a separate list than known good nodes.
Fixed bug.

Set friend in onion as offline when friend goes offline.
Merge branch 'http-proxy-feature' of https://github.com/nurupo/InsertProjectNameHere
Fixed bug with auto tests and cleaned up the code a bit.
Make it possible to port clients to the new api by just replacing
proxy_enabled with proxy_type.