Possible fix for #5649

* Rewrite a client's interface directive to localhost if it's set to 0.0.0.0.
Merge pull request #9489 from cachedout/#5649

Rewrite interface directive to localhost if 0.0.0.0