Minor fix to base http client