Implemented request parsing