Fix segfault, improve code, lil cleanup
We have now to check client side if the "thing" sent over network have a good structure, and improve UDP socket handling.