Restore AppleTalk support

It is possible to use DDP sockets on macOS and Windows after all.
The commits following this will introduce the necessary changes.