feature: added flush() method.
fix typo
Merge pull request #11 from tianchaijz/patch-1

fix typo
Now flush() returns 'bytes' and 'err' as described in README
fix _connect function return value

While connneting to the log server, the return value 'true' can not be used as a socket.
Merge pull request #12 from tianchaijz/patch-1

fix _connect function return value
Merge remote-tracking branch 'upstream/master' into ssl-cosocket