Eb/reconnect logic

We moved our php-amqp fork from my personal repo to our organization repo and do not want to diverge to far from you. So it would be super helpful if this reconnect logic could be approved and merged in.