Bug 907742 Use 'localhost' exclusively for local port forwarding.

This should fix bug 907742. The behavior change is large enough,
however, that existing documents should be revised.