This is very user unfriendly. By default there is only limited number of different protocols available. These could be available in a drop-down list for instance (possibly with option to specify your own if it is a common use case).
The user should not be forced to remember that to add an AJP port he needs to type in "AJP/1.3".