Separated out the code which logs incoming requests now that that seems to be working.  Also noticed that there was a circular dependency issue on the client in socket.js so that is worked out.

Some bugs to work out later - the initial payload misses the final 100 or so cells, future updates will get them but not the first time.