Update http_listener.py

def __init__ added with connection and channel in it