Initial support for choosing tcp or udp for transport.