Ability to add arbitrary request headers when creating a client websocket

I'm not sure if this functionality would be useful to anyone else or if it breaks conformance with spec. I've been using this to test session cookie sending when connecting a websocket.

If this is useful let me know and I'll add tests.