A wrapper to build javascript clients for our web socket API easily.