set up websockets and have a basic connection working