trying to bind with just port, no IP
moved some switch statements around
simulated packed loss in server mode, further port testing
Binding socket to local port, fixed result output, removed some debug logs
refactored percentage again
fixed divide by 0 if no packets received