Error rather than hang if --ip isn't correct.
Merge pull request #6 from burke/fail-instead-of-hang

Error rather than hang if --ip isn't correct.