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

This allows people to pass in `https` instead of `http`.
Merge pull request #3 from Zeelot/feature/2-server-protocol-parameter

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