added logging for http traffic