Rename ws_stream to ws_parser, and rewrite everything