IPPool implementation (OMS-264)

Also includes fixes of bugs in existing functionality discovered during testing of OMS-264.