The following commit https://github.com/TwistedLogic/php-amqplib/commit/097c9a0aa51988faf232c37f777834c2084caf34
pushed getIO() in AbstractConnection, just a more clear code.