default channelMax to 65536