wrote gzip support. Is buggy though. Not sure if its robust yet.