manage connections with peer servers and return pages
TODO: decide how to deal with default-data and plugin/template pages