Fix detection of quoted parts, to more accurately grab the header.
Add detection of signatures.

Issues: #350 #359