Improved socket support

Buffer data from UDP and push them to the client every 2 seconds