make a qualified url out of a relative.

fixes #47