New validates the supplied loopback callback URL, opens the
listener immediately, and stores the resolved callback URL. The URL must use
the http scheme and a loopback hostname such as 127.0.0.1, localhost, or
::1. The port may be omitted or set to 0 to allocate a free port.