add support for TS gateway

add support for TS gateway for RDP protocol