Fixed JERSEY-1006: URL.equals() causes massive delay for shutdown of Jersey core bundle

Change-Id: Ia4c4adc3614d00d90669b34d92cec6bfbb8e5098