modify UdpMessage::buffer_ to shared_ptr