Moved get_local_ip to utils