Output request headers

This is the commit to implement #29