fixed X_REQUESTED_WITH header and uri read line lenght