A customer of mine had problems connecting to an external CSG (Citrix Secure Gateway). He received the error message "Protocol Driver Error" for some unknown reason. This is a known issue with the new Citrix 9.2 client version. I solved the issue by installing the previous version, 9.15.
The other solution is to patch your Secure gateway. For more info, see the following tech article on Citrix support