reading and splitting the requrest header