issue-72: moved URI.parse into request instantiation. Added trailing '/'...

... check to base_url to avoid double '//' when building paths
single var can just be $url