Making protocol configurable

We are using octonode to talk to GitHub:Enterprise installations behind firewalls. Since they are behind firewalls, they are just exposed over http.