Fix for #3742, Request wrapping fixed for Spring Security

@emrahkocaman where is this method called ?