Fixed error in url() function

Sometimes url() function produced URL with unnecessary slash, eg.
`http://dalerium.net//register.php` - that's fixed.
Merge pull request #35 from Kuzirashi/master

Fixed error in url() function