Fix parsing of operators 'tcp' and 'udp'

This patch fixes issue #15.
Merge pull request #31 from Igalia/issue-15-parsing-tcp

Fix parsing of operators 'tcp' and 'udp'