Yes, I too suspect that problem lies at some lower level.
Either some SSL needs to be implemented or code is parsing URL in such a way that Shopify server/API is unable to understand it.
I'll look into the matter more deeply later. For now, HTTPClient is working OK. So I'm going to use it.
And thank you so much for looking into and coming up with so much suggestions.
Cheers.
-PSS