switched string lengths from int to size_t in prot_strings()
replaced malloc/free with tor_malloc/tor_free
replaced strdup with tor_strdup
passing hints as a const pointer to sandbox_getaddrinfo(), also one tor_free macro fails to compile..