[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.
I honestly have no idea what this function does, the ctrulib implementation of soc:U just ignores the resulting handle from this call