server: Move knowledge about remoteness

Locality was deduced from the HTTP server's properties. This patch moves the
knowledge to the HTTP server.

Based on code from Cablelab's patches.

Signed-off-by: Jens Georg <mail@jensge.org>