Add strict subnet format checker; introduce boost:regex