Removed ipaddr include
Added rspec tests for ipv4/6 and hostname validator