Dynamically change http/https get function for graphite

Needs to use net/http for parsing of non-standard system error message (using
open-uri just raises an error without the ability to check the resulting
website for the actual error message).