Python HTTP listener that receives requests and writes the content to the console