Fix server.method
Merge pull request #3105 from shinyaohira/fix-server-method

Fix server.method for Hapi