if(extraParameterSource==null){
res=new HashMap<String, String>();
}
else{
String p=String.valueOf(protocol);
PropertyHelper ph=new PropertyHelper(extraParameterSource, new String[]{p,p.toLowerCase()});
res= ph.getFilteredMap();
}
if(res.size()>0){
// TODO: change it to logger
System.out.println("Have "+res.size()+" extra parameters for protocol "+protocol);
}