re-arrange initialization order, load socket.io after config handling
connect to websocket on /sockethub path