UDPInput: Only look at as many bytes of the packet as we actually received.
Merge pull request #16 from nelhage/udp-fixes

UDPInput: Only look at as many bytes of the packet as we actually received