Added restriction IpPrefix.getAddress/getRawAddress

Refs #1757