only require httpclient on unix

This is only being used for Unix platforms, and since HTTPClient depends on LibCURL which uses WinRPM to download the library, it breaks a circular dependency and simplifies installation on Windows.