Remove socket use from the AppManager.

Use appscale_info.get_private_ip() instead.