replaced getHeaderField() with getHeaderFieldValue()

updated references of the constants I moved on the Request class