http protocol improvements