Merge pull request #1282 from awakecoding/master

Misc. Fixes
Free incompletely initialized dvcs.

If dynamic channels are not completely initialized, the server will
reuse those channel numbers for new channels.
This causes interesting problems when the server asks for a channel
by number, as we can end up with multiple channels with the same number.

Log example of the problem:
DBG_DVC drdynvc_process_receive (341): Cmd=0x1
DBG_DVC drdynvc_process_create_request (249): ChannelId=0 ChannelName=PNPDR
DBG_DVC drdynvc_process_create_request (265): no listener
DBG_DVC drdynvc_process_receive (341): Cmd=0x1
DBG_DVC drdynvc_process_create_request (249): ChannelId=0 ChannelName=TSMF
DBG_DVC tsmf_on_new_channel_connection (378):
DBG_DVC dvcman_create_channel (415): listener TSMF created new channel 0
DBG_DVC drdynvc_process_create_request (260): channel created
DBG_DVC drdynvc_process_receive (341): Cmd=0x3
DBG_DVC drdynvc_process_data (311): ChannelId=0
Warning dvcman_receive_channel_data (517): ChannelId 0 not ready!

In this log, we received data intended for TSMF, but the channel lookup
found the incompletely initialized PNPDR.
libfreerdp-core/surface: remove reduncdant frame ack - was done in client.
libfreerdp-core/server: fix stream memory leaks.
Added play-rfx command line option.

PCAP dumps can now be played with /play-rfx:path_to_file again.
Added auth-only parameter to new command line syntax

auth-only only authenticates. This can be used for credential testing.
Username and password are required for auth-only
server/sample: fix build

Needs now also to be linked against winpr-error
server/x11: build fix when xfixes is disabled
core: update play-rfx to work with async-updates
core: Don't sent persistent key list if deact/react

Client persistent key list should not be sent if deactivation-
reactivation sequence is in progress. See [MS-RDPBCGR] 2.2.1.17
for details.

fixes #1229
libfreerdp-codec/rfx: dwSize must be initialized.
libfreerdp-utils: fix profiler on Windows.
winpr: check added if handle is NULL
build: use uppercase XRENDER_FOUND

FIND_PACKAGE_HANDLE_STANDARD_ARGS sets <UPPERCASED_NAME>_FOUND
build: changed X11_FEATURE_TYPE to optional on osX

If X11_FEATURE_TYPE is disables on mac xfreerdp can't be build properly.
Setting it to optional allows to enable X11 builds with -DWITH_X11
1) Add support for Wildcard Certificates
2) For Gateway connections compare against gateway host name instead of target host
Using the more efficient code for comparing host names
Fixed a possible buffer overflow issue
libfreerdp-gdi/test: Fix segfault in gdi_convert_postfix_to_infix.
xfreerdp: implement XInput 2.2 mouse pointer events