Use static proto (17 - UDP) instead of getprotobyname, because it hangs on Mac OS X 10.8.3