gloox is licensed under the GNU General Public License v2. Additionally, the license contains an exception that allows linking with the OpenSSL library. By downloading and using gloox you agree to the terms of this license.
If you cannot or don't want to make your application's source code available, or otherwise can't abide by the GPL, you must purchase a commercial license.
Feel free to contact me if you have any questions about the licensing.