first swing at socket usage plugin.