Added ipv4 validation, forbid network and broadcast addresses

Signed-off-by: Damien PIQUET <piqudam@gmail.com>