def split_host(host):
    """
    Splits host into host and port.

    :param str host:
        Host including port.

    :returns:
        A ``(str(host), int(port))`` tuple.
    """

    host, port = (host.split(':') + [None])[:2]
    return host, int(port)