AIM's memory leaks resolved

- Removed iniparser dependency
- Aim as a non-blocking server
- Added missing free calls