libfreerdp-core: Added support for server initiated shutdown to TSG