Use protocol of the request instead of hard coding 'http://'

...in addition, might want to note in the readme or something that this assumes an expressjs request object as an argument.   Thanks!