Better usage of  $_SERVER['REQUEST_URI']

Using esc_url for $_SERVER['REQUEST_URI']; Fix for Document Manager