Making http connection customizable.