Implement extended trust manager

To be able to optionally suppress algorthmic constraints we
need to implement the JDK7 added extended trust manager.