Fix incorrect socket.io application in autohost

Sending message in autohost via socket.io now uses .send. The payload sent is { topic: '', body: {} }. This will allow much more robust socket message handling via a library like postal vs having to define an event handler for every possible message sent from the server.