In the absence of any contract to the contrary, an agent is entitled to retain goods, papers received by him, until the amount due to himself for commission, disbursements and services in respect of the same has been paid or accounted for to him. ...