Merge pull request #19 from remicollet/master

nice.
Update: swoole_running move to SwooleG.
Update: remove getlocalname
Fix #21. c_worker_pti to SwooleWG.id
Use swoole_client on php-fpm or mod_php5
modify code style
Fixbug: reactor bzero
Update: callback error
Update: onConnect/onClose optional
Merge pull request #24 from sherlockhua/master

modify code style
Update: revert
Fixbug: udp dispatch error
Fix: warning: unused variable 'mysqli_link_class_entry' [-Wunused-variable]
Fix remaining build warnind, unused var + unused function