Changing to works properly PHP 5.3 >
I was using the plugin in PHP 5.4 and the callbacks seems to not be working the reason was because the check is_callable, so i changed it to method_exists and it should work properly with the new versions of PHP
Merge pull request #112 from krolow/fixing-connect-callback

Changing to works properly PHP 5.3 >