Migrated protocol to use thw new http.py module