improved regular expression so that proxy does not need to start with http