make asnhistory and ip2asn optional