Found a new way to deal with Gzip input stream (should work in HHVM).