Modified RFCParser to handle nested attachments