Update httphandler.py

add hostname to the message dict