add some basic web socket stuff