@staticmethod
def _negotiate(client_value, server_value):
    """Return the negotiated value between what the client has requested
        and the server has requested for how the two will communicate.

        :param int client_value:
        :param int server_value:
        :return: int

        """
    return min(client_value, server_value) or (client_value or server_value)
