Stunnel, like pretty much any other tcp-communicating software, can use stunnel. You just have to take into considderation to connect to the stunnel client rather than the remote server.
Would pretty much be a matter of setting up your stunnel client to connect to your irc-server, and telling your eggdrop to use the stunnel as server (connect to ip and port stunnel is listening at).
Configure stunnel to run as a client, tell it to listen at a port (localport) of your choice, and tell it to connect to whatever irc-server you wish to use.
If you are unfamiliar with stunnel, a visit to stunnel.org might be a good idea, as there are plenty of generic examples to work with, along with good documentations.
Configure eggdrop to connect to localhost:localport (that is, make sure it's the only server in the serverlist. Replace localport with whatever port you used with stunnel).
cant seem to start stunnel ...stunnel was compiled, i edited the sample conf but when i try to run stunnel it just sends me on a new bash command line.. no pid file..