maybe fixed web socket headers, added more events