Don't override function variable to store attributes. Create an JSON object called options with decoupled as the only option (for now) and pass as a 3rd parameter to handlClientRequest()