smart_next_channel_number

this patch fixes issue, when _next_channel_number() cannot return channel number of previously closed channel, if there are opened channels with greater numbers. 
this can lead to exhaustion of channel numbers pool for connection that actively opens and closes channels.