Reorder host expansion to dispatch first on protocol kind

* src/pf/expand.lua: "host" expansion should first dispatch on protocol
  kind.

* doc/host-127.0.0.1.md: Regenerated.