I wanted to use the command-line utility (utm.exe) to sync my machine's clock via HTP. However, all of my machine's HTTP traffic goes through a proxy, thus, the utility couldn't connect to the specified web server and would return an error code instead. I solved the problem by adding the following line to "HTP.cs", right after the point where the "rq" object is created:
rq.Proxy = WebRequest.DefaultWebProxy;
This tells the "rq" object to use whatever proxy server settings are used by Internet Explorer. The usage of this feature could be implemented as an additional command-line switch. Moreover, it might even be useful for some people to specify a particular proxy server for the HTP protocol, instead of the default settings specified in Internet Explorer's properties.