adding UrlInterface::getAbsoluteUrl method
the lib only support RFC3986 for encoding