add some debug macros - simple network utility