Add basic validation of --addr option

Stops you doing things like `--addr tcp://...`