code: def host_port_prefix(host, port, prefix):
      
      uri = "http://" + host
      if (port != 80):
          uri += ':' + str(port)
      if (prefix):
          uri += '/' + prefix
      return uri
docs: Return URI composed of scheme, server, port, and prefix.