Add support for http.Hijacker, and add example

The example sets up a basic WebSocket connection from the browser to the
server and sends a message every 2 seconds.  When the server is stopped,
the websockets are closed gracefully before the server is shut down.