Fixed input_thread shutdown issue if not initiated by user.
Now processing input messages in async thread.
Abortion check now just tests for quit in the queue.
winpr: rewrite named pipe sharing

Since commit 5e09e37d42bd8896a687df830a95f5cb56e4d47c was basically unfixable,
here is a slightly different approach that should hopefully solve all
discovered issues and race conditions.
winpr: fixed non monolithic build issue
Don't use NULL for pWrittenBytes when calling WTSVirtualChannelWrite()

Nothing in the MSDN API says that setting NULL is safe. And if the
implementation uses WriteFile directly, it crashes.
Changed fullscreen value to reflect the current states from http://technet.microsoft.com/en-us/library/ff393692(v=ws.10).aspx
Merge pull request #1877 from awakecoding/master

WLog, Transport, Gateway, Time
Merge pull request #1879 from awakecoding/master

Async Transport BIO full duplex support
Drop unused field
Fix NLA authentication for server-side

This patch make copies of the server public key so that the NLA
authentication can be performed server-side.
Fix metrics leak
Fix certificate leak

There were a leak when doing TLS in server mode
Don't leak cert in case of failure
Merge pull request #1873 from hardening/WTSVirtualChannelWriteCallers

Don't use NULL for pWrittenBytes when calling WTSVirtualChannelWrite()
Merge pull request #1882 from hardening/nla_fix

Nla fix
transport: fix incorrect retval that caused unexpected redirect.
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Merge pull request #1868 from akallabeth/x11_shutdown_fix

X11 aync input shutdown fix
Merge pull request #1872 from nfedera/fix-2014-05-28-01

winpr: rewrite named pipe sharing