boolean connectedToQpid = true;
FieldTable serverProperties = _conn.getProtocolHandler().getProtocolSession().getConnectionStartServerProperties();
if(serverProperties != null)
{
if(serverProperties.containsKey(ConnectionStartProperties.PRODUCT))
{
//String.valueof to ensure it is non-null, then lowercase it
String product = String.valueOf(serverProperties.getString(ConnectionStartProperties.PRODUCT)).toLowerCase();
//value is "unknown" when the naming properties file hasn't been found, e.g in IDE.