Do not BIO_clear_flags() when the SSL error is not valid to fix #2056
Merge pull request #2169 from awakecoding/master

Clipboard, RemoteApp, Cursor + Color Conversion
Merge pull request #2130 from eosrei/2056/ts-gateway-connect-fail

Removing TS Gateway breaking BIO_clear_flags() call