libfreerdp-core: TS Gateway cleanup and NTLM SingleHostData implementation