Add UDP/TCP connectivity tests.

@andresusanopinto @pthatcherg PTAL