Refactored Channel.open and confirm_deliveries.