Update safe_popen.py documentation
Make ParseMessage return None if there is no message to parse
Fix the message editing endpoints to support attachments