In some cases it may throw a NPE because enabledCipherSuites or enabledProtocols may be null.
enabledCipherSuites
enabledProtocols