'Parses a list of server directives, accounting for global address sslishness.
:param list server: list of directives in a server block
:rtype: dict'

def parse_server(self, server):

    addr_to_ssl = self._build_addr_to_ssl()
    parsed_server = _parse_server_raw(server)
    _apply_global_addr_ssl(addr_to_ssl, parsed_server)
    return parsed_server
