Parameterized the protocol to use for the admin endpoint so you can also use https instead of just http.