working http and websockets baseline