frontlib refactoring
socket.h now completely wraps all the lowlevel neworking, so it would be easy
to switch away from SDL_net if needed. Also reduced global state by making an
IPC connection an object-like thing.
[patterns]
**.h = native
**.c = native
**.cpp = native
**.lua = native
**.txt = native
**.pas = native
**.inc = native
**.hs = native