Raspberry Pi websockets test code