The most recent procotocol specification can be found here.
And implementation of the most common packages can be found Here.
Hosted by Slik & Lifeforms.