[WIP] SOC_U: Implemented some socket functions

This allows ftpony and ftbrony to work.
It's using Berkeley sockets directly since that's what the soc:U service exposes to applications.

Still WIP.
Instead of having this define, just set the ERRNO on the offending entry to some invalid value to skip it on windows.