Fix parsing of proto/port

Signed-off-by: Doug Davis <dug@us.ibm.com>