A web sockets behaviour for gaffa