Support new DN string format, fixes #1.