Add a parameter to define the server protocol (refs #2)

This allows people to pass in `https` instead of `http`.