Added GZIP support (fixes #11) and 404 support as a bonus)