Removed direct references to IPs in utils_sockets and instead have them passed as arguments into socket functions. adis.c now passes these parameters.