Added 'protocol' parameter to force it on url generation

I need to force the protocol because i need it to be `http` and my mobile app is trying to use `file`.
I've added 2 tests for this and it's working.

Would be great if you want to push it, so I can use it directly from bower.
Thanks!