websocket frame inside main parse loop