Add statistics to backend.
Strip localhost: prefixes from links.