Fixes #5. Content type extracted from headers if available. Defaults to application/x-www-form-urlencoded.