Import websocket framing code from c10ktools.
Add a function to parse WebSocket URIs.
Add a sample client implementation.