Added support for gzip, updated version, fixed recursion not closing req properly