Send realtime events to web page from mobile phone using web sockets