Realtime PHP app with Socket.io and JQuery