small optimization.  added Config::setRequestBase() to make url base configurable.