make confirm mode optional

i don't think you need to check this again, i believe if you don't invoke channel.confirmSelect() then channel.waitForConfirms will return immediately.  I'm pretty sure this is the case because I think all that the original change did was add the invocation of channel.confirmSelect()