more work on MIME message implementation