DefaultTcpNioSSLConnectionSupport and DefaultTcpNetSSLSocketFactorySupport need an SSLContext which is set up in afterPropertiesSet(). However, when configuring the connection factories with default strategies, afterPropertiesSet() is not called. Result: NullPointerException. Add call to afterPropertiesSet() where appropriate and tests to verify.