Using urlunsplit to remove fragment and query parts within URL