Collect HTTP specific codes to HttpClient
Make default host and port generic