A few cleanups and comments for http-client.