Minor fixes for IP, broadcast and socket initiation

I made some fixes to let Python do it's magic and pick IP and broadcast and fixed two exceptions on platforms without socket.SO_REUSEPORT
Fixed what must be a type? Shouldn't the beacon socket be bound to the hosts IP, not the broadcast?