Issue 394: IP validator doesn't respect zero

Fix #394 

![ip zero accepted](https://cloud.githubusercontent.com/assets/2076782/2629115/57a17e20-be33-11e3-9b46-797ad4d0e82d.png)