added properties channel_max in Connection and global_prefetch_count in Channel