connection api overhaul
rename type, add distance element
net.send method for use with packets