Neo4j WebSocket common resources for server and client