Fix docop options parsing

Fail with usage statement when arguments are not correctly specified by user.
Either or option for tcp udp was corrected.