Fix parsing of operators 'tcp' and 'udp'

This patch fixes issue #15.
Eventually it would be nice to give names to these constants (6, 17, etc).  That's something for another patch, though.