fix(http): Proper handling of non-2xx responses.