I came across a an exception saying "The magic number in GZip header is not correct. Make sure you are passing in a GZip stream." and after some googling, the solutions (like here) seemed to point out that the cause was not closing the stream.
So after some digging around it seems not only the Close method does not exist in the PCL also the Flush method does nothing according to msdn
Can anyone point me in the right direction on how to solve this issue?