Fixed ldap search mode 1
Fixed broken headerParser due to https://bugzilla.mozilla.org/show_bug.cgi?id=842632