rfc 5545 parser in python