libstd: Implement some missing tcp methods.
libstd: Implement some missing udp methods.