Clean up a bunch of failure scenarios

Test the proxy in the browser and against ab. Add
a mechanism for testing the line protocol from the
command line.