Fixed out-of-order response header generation

Now generates initial Content-MD5 header before any compression.  Noted that _apply_compression() updates this header anyway.

Also applied Content-Encoding *before* Transfer-Encoding, to avoid content-encoding a transfer-encoded message body.  Not entirely happy with this, because I'd prefer to apply transfer- over content-encoding anyway.
version bump