Added missing flags argument to UDP recv callback
Fixed UDP echo example