Fail if --proxy URL doesn't include protocol.

Closes #2834 

I was thinking about using url.parse('foo').protocol, but the following `localhost:3000` takes localhost as the procotol which actually fails. So a quick regex does the job.