Added in getResponseCode() parsing, plus supporting constants.
Also added in debug writing of the HTTP status code