check correct define for UDP mode
minor fixes related to UDP mode
Merge pull request #2077 from inolen/enable_udp

enable UDP tests in socket tests