Bug 956315 - Improve logging of NSS calls. r=ctalbert

(cherry picked from commit 4913f6cd80628b43759847d82a719440469921e4)