parse request header