genielabs/HomeGenie — pull request #6 by rwxr-xr-x (2014-07-11 01:17:20+00:00)
Title: reset webGateway & tcpGateway

If port 80, the default we port is used the next port will be used 81, but when a web request comes in the "webGateway_ProcessRequest" function is getting called twice, not really sure why but re-initializing webGateway & tcpGateway makes sure that each URL request is processed only once