Add cookie support to websocket client

Adds support in the form of a string or dictionary.