add some tcp/ip handling stuff so I can avoid it copying it.