Small wrapper around sockjs that handels objects and arrays and improves multiplexing