Added some debugging info and made the canonicalRequestForRequest: method to be called in subclasses.