Created a custom multiplex server with socket.io because the built in multiplex server didn't work for me.