added the ability to pass headers to the request raw methods

I added the ability to send the headers to all the raw requests, fixed some @vars, and modified the tests to accomodate the new parameter.