http/headers: add type
http/request: add some documentation and specs