separate request headers into it's own table

Signed-off-by: Nithin Saji <nithin111@gmail.com>
Add documentation for the API