Subtract protocol length when truncating URLs