storing IPs using BLOBs in SQLite now. this requires simple byte arrays - so i've added two utility functions in functions.lisp and modified the database functions in database.lisp