Established functioning websocket connection between app.js and php scripts using Ratchet.