A simple script which collects https posts and writes out to the brower through websockets using socket.io.  A unique ref must be supplied using the "ref" querystring parameter.  The ref value provided in the browser must match that being used in the post.  A GUID might be a good idea for this.