SSL.Cipher: Extended hash_packet() with length adjustment.

This is needed to support the current draft of encrypt-then-mac.
SSL: Support EXTENSION_encrypt_then_mac.

This draft extension improves security for old CBC suites by
hashing the encrypted data including the padding. This works
around the various TLS padding attacks.
SSL: Fixed some typos in the previous commit.
SSL: Removed some debug.