code: public static SSLSessionStrategy buildStandard(TLSOptions optionsMap)
              throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException,
              UnrecoverableKeyException, CertificateException, IOException {
          String[] allowedProtocols = arrayDifference(optionsMap.getAllowedProtocols(),
                  optionsMap.getDisallowedProtocols(),
                  getDefaultProtocols());
          String[] allowedCiphers = arrayDifference(optionsMap.getAllowedCiphers(),
                  optionsMap.getDisallowedCiphers(),
                  getDefaultCipherSuites());
  
          return build(optionsMap.getTrustStore(),
                  optionsMap.getTrustStorePassword(),
                  null, null, null, null, // All keyStore related stuff
                  allowedProtocols,
                  allowedCiphers,
                  optionsMap.isAllowAnyHost(),
                  optionsMap.isTrustSelfSigned());
      }
docs: Convenience function parses map of options to generate {@link SSLSessionStrategy}.
  <p>
  Defaults are provided for all fields:
  <p>
  <ul>
  <li>trustStore - default: <a href="https://docs.oracle.com/javase/6/docs/technotes/guides/security/jsse/JSSERefGuide.html#CustomizingStores">JSSERefGuide</a></li>
  <li>trustStorePassword - none</li>
  <li>allowedProtocols - {@link SSLParameters#getProtocols()}</li>
  <li>disallowedProtocols - {@link SSLParameters#getCipherSuites()}</li>
  <li>allowedCiphers - {@link SSLParameters#getCipherSuites()}</li>
  <li>disallowedCiphers - {@link SSLParameters#getCipherSuites()}</li>
  <li>allowAnyHost - false</li>
  <li>allowSelfSigned - false</li>
  </ul>
  
  @param optionsMap map of options
  @return the SSL session strategy
  @see #build(String, String, String, String, String[], String, String[], String[], boolean, boolean)
  @throws NoSuchAlgorithmException if the selected algorithm is not available on the system
  @throws KeyManagementException when particular cryptographic algorithm not available
  @throws KeyStoreException problem with keystore
  @throws CertificateException if there was a problem with the certificate
  @throws IOException if the truststore could not be found or was invalid
  @throws UnrecoverableKeyException a key in keystore cannot be recovered