centralized http emit
Added network connection methods