client side app for sending data to websockets layer