Change o reference the new option JSON object which will be passed as the 3rd parameter to the handlClientRequest function - i.e. if(options.decoupled) { ... }