httpendpoint: Set a dedicated callback to emit signal new-sample signal

Change-Id: I224a36f72b395c9d583261de58dd475027e84fd4