mac CLI: call freerdp_stop on applicaiton close
error handling in rpc and transport functions
Added timeout on blocking send, receive operations
rpc client thread: added periodic check on transport layer state, replacing an infinite wait operation.
tsg_write: return error when transport layer is closed
Transport: trigger OnErrorInfo if a read/write error forced the thread to closed.
Merge branch 'master' of git://github.com/awakecoding/FreeRDP
Fix compilation on windows (variable declaration was not in standard C)
Only install cli binary if VENDOR is FreeRDP
Merge branch 'master' of git://github.com/awakecoding/FreeRDP
Remove CMAKE policy warning
Merge branch 'master' of https://github.com/mrthebunny/FreeRDP
Added PubSub notification on mouse events (only triggered in Windows)
ts_add_ms: replaced while() that could result in infinite lock
Merge branch 'master' of git://github.com/awakecoding/FreeRDP

# By Marc-André Moreau (27) and others
# Via Marc-André Moreau
* 'master' of git://github.com/awakecoding/FreeRDP: (48 commits)
  afreerdp: fix build on Android
  libwinpr-wtsapi: include wtsapi32.h on Windows
  wfreerdp: fix target exporting
  wfreerdp: fix building against OpenSSL with MONOLITHIC_BUILD and shared libraries
  wfreerdp: fix test build issues
  libwinpr-crypto: implement CryptProtectMemory/CryptUnprotectMemory
  libwinpr-memory: add missing definitions
  libwinpr-memory: start stubbing
  Increased size of stream on GCC conference create request from 512 to 1024.  For large numbers of static virtual channels, the stream was being overflowed and was causing crashes.
  Fixes to process new command line options (autodetect, heartbeat, multitransport), join the MCS message channel and process auto-detect PDUs during the connection sequence.
  wfreerdp: fix build against static openssl library
  winpr-hash: fix building against openssl in static mode
  libfreerdp-gdi: fix invalidation of region with line drawing
  mfreerdp: fix hungarian keyboard '0' and 'i' key inversion
  Fixes build issue on Windows
  libwinpr-synch: add active/inactive linked list for timer queue
  libwinpr-synch: improve timer queue implementation
  libwinpr-synch: make use of head's expiration time in timer queue
  libwinpr-synch: make use of timespec for timer queue
  libwinpr-synch: improve timer queue implementation
  ...

Conflicts:
	client/common/CMakeLists.txt
Merge branch 'master' of git://github.com/awakecoding/FreeRDP
libfreerdp-codec: start new MPPC compressor
Merge branch 'master' of github.com:awakecoding/FreeRDP into mppc
libwinpr-utils: start new BitStream util
libwinpr-utils: add MSB/LSB bit printing