Include hapi request object in validate func

Included hapi request object as a parameter to the validate function, so
that the client has the option of performing extra checks based on any
additional request paramaters or payload values.