core: remove unused methods in IPAddress

Change-Id: I12ee6018dd651a396e884f79bfba9230119b4ac2
Signed-off-by: Alissa Bonas <abonas@redhat.com>