def normalize_parameter(kv):
    """
	Translate a parameter into standard form.
	"""
    k, v = kv
    if k[0] == 'requiressl' and v in ('1', True):
        k[0] = 'sslmode'
        v = 'require'
    elif k[0] == 'dbname':
        k[0] = 'database'
    elif k[0] == 'sslmode':
        v = v.lower()
    return tuple(k), v
