#661: Add headers option to the remote validator, thanks to @ryan2049