Replace SDLNet code with system sockets

Hollinski and I have discussed these matters, and we've found that SDLNet isn't really fit for use, as we need more control and options for the sockets.
Just a reminder that `strerror` + our own logger should be prefered over `perror`.