# Functions
CurryWsMockUpgrader curries a WsMockUpgrader with a testing.TB and a mock func bridging the gap between information known before the Server is created and during a request.
EchoHandler is a simple echo function after a read, this doesn't need to worry if writing to the connection fails.
WsMockUpgrader handles upgrading an initial HTTP request to WS, and then runs a for loop calling the mock func on each input.
# Type aliases
WsMockFunc is a websocket handler to be called with each websocket message.