Only support path without leading slash

To avoid squeezing http://
Merge pull request #924 from voke/patch-2

Only support path without leading slash