imported php websocket code, connection works
server can now be opened and closed via admin page