websocket basic send/receive tests

Summary: more unit tests

Test Plan: go test ./...

Reviewers: roly

Reviewed By: roly

CC: Engineering

Differential Revision: https://phabricator.poptip.com/D2913