Added the ability to toggle between udp and tcp connections.
Merge pull request #5 from josephcrim/master

Added the ability to toggle between udp and tcp connections.