The extlib is coming with its own proxy. You just need to define the sametime endpoint in plug-in.xml.
Have you first tried the sbt demo database? It uses Greenhouse as the sametime server, and you can see how it is configured.