Udp header api

Reviewer: @jnealtowns