Added media session terminated listener to HttpEnpoint

Change-Id: I22fd4e0c03c1cb8b3611e0a7fdcffccd03b200f4