stub for server / websocket testing