http, error, client classes