sync_support: split parse_response into two parts
This way we can parse from something other than the wire