Fix logic for inserting slash after base URL

Was adding slash if base url didn't end in / OR request path didn't
start with /. Changed to AND.
Merge pull request #5 from hughgrigg/master

Fix logic for inserting slash after base URL