Fix bug that proxy does not work because of the protocol letter.