Fix port 0 bug in URIPORT
Land #4181 - Fix nil URIPORT in get_uri (HttpServer)