What agents can learn from lawyers on the art of negotiation