take parameters for :domain and :protocol

For people who may be using GitLab or possibly GitHub enterprise.

protocol defaults to https and domain defaults to github.com if the
options are not provided.
Merge pull request #1 from jameswritescode/master

Add protocol and domain parameters.