Added better handling of 403 return codes.
Added a "raw output" option in the constructor.