Fixed UDP not receiving data
Made some Endpoint class methods public