Finally get websockets working