Flesh out the echo example from sockjs-node's echo example