amqp socket creation in a new new style

alanxz/rabbitmq-c@da9c2c109ad9740177adfc93e5e92cba92c56134 provide new way for amqp socket creation