more protocol constants extraction
cgi path usage fix