[WIP] SOC_U: Implemented some socket functions

This allows FTPony to work.
It's using Berkeley sockets directly since that's what the soc:U service exposes to applications.

Still WIP.
Keep in mind this checks for the platform, not the compiler. If you're doing something that's MSVC specific, you should check for that.