added config option rewrite_links_serverside

default is True.  Code to deal with this option coming next.