Fixed bug in message parser.

An empty "To" header caused a segfault of libcmime.