Watch this. Some people ported the Contiki OS to Apple II, which includes a complete TCP/IP stack and web browser in a text-based desktop environment (think textmode Framework for DOS).