Simplify a great many things.

* Use a Unix socket to communicate with the server.
* Move initialization into the constructor.
* Make the tests actually pass.