Remove deprecated method from examples

Removed the call from the deprecated addListener to addHttpListener