Support listening on port 0.