Fleshed out HttpAPiClient and tests