Python thing for testing websockets