Use FindTask(NULL) for AmigaOS 4.x for the different lib bases.
Don't define SocketBase and ISocket.

It is already defined somewhere else.