changed operations in Channel::__initSecureChannel to use a list comprehension for simplicity