Checked DIP destination URL check to server-side.

refs #4899

Changed the check of the DIP destination URL to be server-side so as
to avoid cross-domain issues.