added socket support and 'show info'