added workaround for buggy phpseclib pear-chanel