add support for TF gateway
Merge pull request #51 from mis98zb/master

add support for TS gateway