Allow for HTTPS Graphite servers.

If a settings.GRAPHITE_HOST contains an HTTPS Graphite server, this replacement fails. Using a regular expression to allow for both http and https URI protocols.

In the future, perhaps this interpretation should live in settings, rather than in each place in the code?