made http configuration constructor protected