Using URI.join for building uri's to deal with normalising them.

This fixes Fixes #44 and possibly other uri normalisation issues.