Fix parsing of requests with bodies.
Add some tests for various types of requests.
Make responses work.
Make body parsing much more consistent.