Fix bug where multiple webhooks could be registered on the same port and url.