Merge pull request #2 from Serahug/master

iOS 5 + Mac OS X 10.6 compatibility
Adding a method to manually flush event queue (sending requests immediately).