rough version of bit.ly, a URL shortener