IConnection connection = connectionFactory.createConnection(ConnectionType.NETTY_HTTP.getValue());
connection.setHost(TestConstants.HOST);
connection.setPort(TestConstants.PORT_SC0_HTTP);
connection.setIdleTimeoutSeconds(0); // idle timeout inactive
IIdleConnectionCallback idleCallback = new IdleCallback();
ConnectionContext connectionContext = new ConnectionContext(connection, idleCallback, 0);
connection.setContext(connectionContext);
String ldt = DateTimeUtility.getCurrentTimeZoneMillis();
SCMPMessage message = new SCMPMessage(SCMPVersion.CURRENT);
message.setMessageType(SCMPMsgType.ATTACH);