I ran into a problem with the httpclient when used with the Photon. What I found to be happening is the httpclient relies on the the TCPClient to become disconnected before it stops polling the connection for response data. On the core this disconnection happens relatively quickly, but does not on the Photon I always timeout the polling loop.
I played around with the code such that I now exit the polling loop immediately once data is received not waiting for the connection to close. A normal response from my server is in the range of 128 bytes and I have not seen any multiple packet responses but I am kind of worried by my approach that it will cause problems in the future.
I am very interested in hearing others thoughts on taking this approach to fix this.
I also wanted to thank @nmattisson for making this library available in the first place.