fix String to principal parsing

The current implementation fail to parse DN with http:// in the value of an attribute
Merge pull request #78 from kofemann/fixes

fix parsing of string form of DN