final AMQCodecFactory codecFactory = new AMQCodecFactory(true);
createSession(protocolSession, _applicationRegistry, codecFactory);
_logger.info("Protocol session created for:" + protocolSession.getRemoteAddress());
final QpidProtocolCodecFilter pcf = new QpidProtocolCodecFilter(codecFactory);
final ServerConfiguration config = _applicationRegistry.getConfiguration();
String keystorePath = config.getKeystorePath();
String keystorePassword = config.getKeystorePassword();
String certType = config.getCertType();