Packs a message

def pack(self, message_type, client_id, client_storage, args, kwargs):
        """
        Packs a message
        """
        return pickle.dumps(
            (message_type, client_id, client_storage, args, kwargs), protocol=2)