Add web socket sending functionality