Added UDP connection to transfer tunneled packets
Fixed bug where udp & tcp socket were interchanged as well as made code more organized