Implemented request parsing.