Sockets cannot be just passed between threads on AmigaOS/MorphOS. Instead, `ObtainSocket` needs to be used. Add a proper API to do this, that is a nop on other systems.