fixed introduced winpr bug in namedpipes

Bug was introduced by 5e09e37d42bd8896a687df830a95f5cb56e4d47c
Merge pull request #1864 from MartinHaimberger/namedpipefix

fixed introduced winpr bug in namedpipes
libfreerdp-core: add new protocol metrics module
libfreerdp-codec: cleanup context state flushing
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Merge pull request #1865 from awakecoding/master

Compression Cleanup
cmake: add option to override default library type for complex submodules
winpr: fixed incorrect pipe reference count usage

- refcount is only relevant for servermode
- refcount was used uninitialized in clientmode
- credit for fix goes to @bmiklautz

Bug was introduced by 5e09e37d42bd8896a687df830a95f5cb56e4d47c
libwinpr-smartcard: start smartcard API inspector
Merge pull request #1866 from nfedera/fix-2014-05-26-01

winpr: fixed incorrect pipe reference count usage
libwinpr-smartcard: add logging for each calls in smartcard inspector
libwinpr-utils: extend wlog prefix format
Fixes for CVE-2014-0250

This patch introduce misc checks when receiving pointer updates. We check
that the cursor are in the bounds defined by the spec. We also check that
the announced mask sizes are what they should be.
Set checks to be strict and also check xorBpp field

This patch:
* renames bpp to xorBpp ;
* changes checks to strict ;
* adds checks on the xorBpp field
tls_prepare: suppressed a warning on Mac
Check for bpp > 0

Bpp == 0 just makes no sense
Check that bpp has reasonable value

As bpp is often used for malloc computations, let's check that it has
a reasonable value.
libwinpr-timezone: stub functions
libwinpr-sysinfo: implement GetSystemTime, GetLocalTime
libwinpr-utils: add support for fine grained wlog filter