Takes a binary input buffer and GZip encodes the input