begin refactoring Request.prototype.init