refactor: reorder init
use express3 socket.io attachment and thus share a port therebetween