Patch for deflate compression and minor MIME additions