Added correct handeling of reallocing space for more than 4 entry guards. Added error checking in parse_ip to handled missing Tor nodes.