Improved the example binary.

The example will bind to localhost on port 8080 and accept GET, POST, PUT, HEAD and DELETE requests to
paths specified in the code. I opted for this rather than unit testing because it was easier!