Fix: UDP serving on windows, UDP serving test paniced

Also, replaced t.Error/t.Fail with t.Fatal in some places.