Add logging to net/httpclient

Debug messages are shown when HTTP requests are made.