Added a check for a 'wild-card' input protocol as an acceptable alternative to an empty protocol string.