udp: handleOptionalParameters method added
udp: handleOptionalParameters method added

This also addresses an issue where the goroutine was not breaking out of
the loop parsing the options, instead it was only breaking out of the
switch statement.

kotoko/chihaya