add rough parsing of messages

This includes:

 * separate body from headers
 * join „folded“ header lines
 * extract Subject, References, In-Reply-To, Message-Id
 * decode base64 encoded bodies

TODO: quoted-printable encoding, multipart messages
(the latter seems not not very common)