Actually test master.port against worker.port.
Use package.config for default port and server, if available.