Correctly assign source address and port to encapsulating UDP socket
Add SCTP encapsulation support to UDP
Correcly calculate UDP checksum
Add missing return value