if (inetAddr != null) {// Use special field ip source address (for pseudo 'ip spoofing')
requestParams.setParameter(ConnRoutePNames.LOCAL_ADDRESS, inetAddr);
} else if (localAddress != null){
requestParams.setParameter(ConnRoutePNames.LOCAL_ADDRESS, localAddress);
} else { // reset in case was set previously
requestParams.removeParameter(ConnRoutePNames.LOCAL_ADDRESS);
}
int rto = getResponseTimeout();
if (rto > 0){
requestParams.setIntParameter(CoreConnectionPNames.SO_TIMEOUT, rto);