Having a large network of friends and family, a new study suggests, may help surgical patients experience less anxiety and pain before their operations and a quicker recovery afterward.