nghttp: Assign different priority according to the resource type