Proper way of handling willSendRequest delegate method.