[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.
Similarly to above, don't rely on ABI details like these. Check the flags returned by the program and add the appropriate bits yourself.