fixed a type in parsing request headers
updated readme