Added protocol plugin detection.