Reading the global out of forwardConfig after setting it there is a bit confusing.  I understand what the code is doing but I don't understand *why*.  There should probably be a comment explaining why we need to `globalHookHandler = forwardConfig.globalHookHandler`.