Adding send functions to ReconnectingWebSocket