Random social networks, unemployment and wage inequality