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

Virtual Channel System Improvement
wlfreerdp: fix compilation errors

This commit fixes the following errors
by removing or replacing old functions:
wlfreerdp.c:(.text.startup+0xc): undefined reference to
`freerdp_channels_global_init'
wlfreerdp.c:(.text.startup+0x72): undefined reference to
`freerdp_client_parse_command_line_arguments'
wlfreerdp.c:(.text.startup+0x9b): undefined reference to
`freerdp_channels_global_uninit'
Merge pull request #2155 from pfpacket/wl-fix

wlfreerdp: fix compilation errors
Fixed sspi_CopyAuthIdentity, now checking source struct, if it is ANSI encoded.
Add ipv6 client support
Merge branch 'master' of https://github.com/FreeRDP/FreeRDP
Merge pull request #2157 from akallabeth/sspi-auth-fix

Fixed sspi_CopyAuthIdentity when using ANSI encoding
Fix build on windows

Problem was introduces by a non pull request push for ipv6 support
Merge pull request #2161 from bmiklautz/fix/windows_build

Fix build on windows
core: fix pointer caps, slowpath kbd and a gcc fix

* According to MS-RDPBCGR 2.2.7.1.5 the pointerCacheSize is optional
  and its absence or a zero value indicates missing client support for
  the New Pointer Update.

* Added and fixed some comments regarding the meaning of the KBDFLAGS_DOWN
  keyboard flag and how it is currently used in the code.
  "Fixed" the slow path keyboard input to generate the same keyboard flags
  as the corresponding fast path code.

* Some arbitrary value was used for the ConnectPDULength in the GCC
  Conference Create Response. According to MS-RDPBCGR 4.1.4 this value must
  be ignored by the client so we encode a zero value instead.
Merge pull request #2160 from nfedera/fix-2014-10-22-01

core: fix pointer caps, slowpath kbd and a gcc fix
mfreerdp: fix build and cursor conversion
Merge branch 'master' of github.com:FreeRDP/FreeRDP

Conflicts:
	libfreerdp/core/gcc.c
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
shadow: fix bitmap update fragmentation