Fix issue interfacing with the mimeparse library, and add URLDecoder tests.