Fixed MIME multipart decoding buffer overflow. Thanks to Matt