code: public SSLServerSocket buildServerSocket() throws CertificateException, UnrecoverableKeyException, NoSuchAlgorithmException, KeyStoreException, KeyManagementException, IOException
      {
          // Get socket
          final SSLServerSocket s = (SSLServerSocket) build().getServerSocketFactory().createServerSocket(port);
  
          // Set protocols
          s.setEnabledProtocols(TLS.getUsable(TLS.TLS_PROTOCOLS, s.getSupportedProtocols()));
          s.setEnabledCipherSuites(TLS.getUsable(TLS.TLS_CIPHER_SUITES, s.getSupportedCipherSuites()));
  
          return s;
      }
docs: Builds a new ServerSocket
  @return SSLServerSocket