Fix: UDP serving on windows

This fixes UDP serving on windows and UDP serving tests. Also, it replaces t.Error/t.Fail with t.Fatal in some places.