Removed 'nc' dependency - using /dev/tcp instead