Remove unused code.
Move proxy connection code out into separate file.
Move proxy functionality into proxy command.

The package did not need to be separate, simpler to keep in the same
module.

Additionally, the server no longer dies if the server cannot be
connected to.