Fix a corner case where multiple method handlers were being added to for the same HTTP event