remove hostname as unused, move server.js in protocol package so web threadbox could just depend on protocols