Revert "Changed ip column in history table to VARBINARY(16) to make it IPv6 compatible"

This reverts commit 19e3677308e8a7314a98627eff574416305ee4cd.