add getAllHeaders to Request.