initial setup for using websockets locally