Protocol Discovery for Web services