bug-22273: Add missing check for colon at end of Header name