I wrote a httpPlatformHandler service using C++ which seems to work well. I actually have two questions.
1 - How can I determine the client IP address? The Winsock function getpeername only returns the IP of the machine IIS is running on.
2 - How can I determine if HTTPS is in use? The first line of the headers ends with HTTP/1.1 even when HTTPS is used.