Revert "Do not strip protocol from end point."

This reverts commit ff357acc9cf379cbb8bc40a014b2c201456bd735.