changed ``.replace()`` in ``builtin_features.http_distortion``

(cherry picked from commit 650977550c87d1b4088e47fdfe973952ea8ca87b)