add setHttpVersion