def _create_tool_url(fqdn, http_port):
    """Create an HTTP URL for a tool.

    Args:
        fqdn: A tool FQDN (already processed by fqdn_rewrite).
        http_port: The HTTP port number part of the URL.

    Returns:
        A constructed tool HTTP URL with protocol and http port.
    """
    # Use str() to ensure we return a non-unicode string
    return str('http://%s:%s' % (fqdn, http_port))