Added mockable HttpClient for better testability

(#43)
@shermpay Please code review and pull :).