split Network.AMQP into two modules
fix warnings