Add check for nil params in webhook_valid?

Hi, this helps preventing errors in case someone POST's to the callback url with no parameters.