http regex improvement

now removes trailing /'s