Reorganizing ClientInterface and removing setDefaultHeaders() from ClientInterface