server.url: handle net.address() returning null