Add host and protocol when generating URLs