Switch to using the 'addressable' gem for URI parsing; built in URI stdlib was inconsistent from ruby 1.9.2 to 1.9.3