Sync with FreeRDP

Sync with FreeRDP