In a JSON-RPC batch, an element that is not an object gets an error reply with the id and version of the element before it.
ExecuteHTTPRPC parses every element of a batch into the same request object, and parse() throws on a non-object before it sets id and m_json_version. For [{"jsonrpc":"2.0","method":"getblockcount","id":"X"}, 2] the reply has two objects with "id":"X", one with a result and one with an error. If the first element is a notification, the error is dropped. I give each element its own copy of the request, which holds only the HTTP fields, so the error is the one the first element of a batch already gets. The new case in interface_rpc.py fails on master and passes with this change.