*
* @param trustManager The TrustManager implementation
* @param port The port
*/
public static void registerTrustManager(TrustManager trustManager, int port) {
SimpleSSLProtocolSocketFactory f = new SimpleSSLProtocolSocketFactory(trustManager);
registerFactory(f, port);
}