Chat module for social network

Closed - This job posting has been filled and work has been completed.

Job Description

We require the development of a chat plugin for our social network.
We prefer native code only, and developed from the ground up. If it is based on another chat client it must be completely customized to our specs and UI.
Chat should work in a way very similar to Facebook's. We have set aside an area of our social network where the chat module will be located. It must be fully integrated sharing a single session. Our platform is being developed in PHP / Codeigniter.
We have already setup an Openfire XMPP dedicated server. Current DB backend is MYSQL but this can be changed at the developer's discretion for performance and scalability as we need this to be able to scale to millions of users if necessary.

We will provide all the HTMLs for the design elements.