When loading DH domain parameters into a CTX, test the prime immediately. When loading them into a session, test the prime right before using it during the handshake. Sessions that get their prime from their context do not need to test their prime. Added a function to disable testing the prime in a session. The goal is to speed up testing as every single test case loads DH parameters whether they are used or not.