First version of the Web Socket gateway.