Loading a plugin before connection

Is it possible to load my plugin before I attempt to connect Spark to the server? I have code I need to run prior to any IM traffic, but I don’'t see a way to do it without modifying the client directly.