Move the URL parser hack out into a bean post-processor.