Handle missing parameters gracefully

OpenPGP states that the Content-Type header is annotated with
parameters, namely 'protocol' and 'micalg'. Use .get() to retrieve
this values with a default value to handle the case of malformed
(according to RFC 3156) messages gracefully.

Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>