Update restify definition

The restify documentation incorrectly states that two attributes of the request object are string properties rather than functions. This request correctly defines them.