basic http and tcp producer; pep8