improved the websocket demultiplxer so that it now stores state in the protocols. This allows for an arbitrary amount of connections and you no longer have to define the amount
made some bug fixes to web socket protoccol and cleanup the code