Fix invalid types comparison which leads to invalid timeout assignment
Standartize basic.publish amqp method calling in AMQPExchange::publish