fix check for luasockets in example widgets