added content_type and new protocol config option