Add first parts of websocket support

This commit adapted from:
    https://github.com/ahf/ircd-ratbox/commit/2703ca0b42769a1b0c707126f19f4ef6fb7d3bd1
Add HTTP parser from https://github.com/joyent/http-parser