resolves STREAMS-239

use apache URL decoder - sun's version threw errors in edge cases
explicitly check for URL validity
updated test to match change in processor contract - return each url at most once