fully functional tcp and udp with new design..

closes #14 closes #16