RawSocketSender.send() should try to flush the buffer after it's full
Refactoring based on @oza's comments
Merge pull request #27 from fluent/issue_17

RawSocketSender.send() should try to flush the buffer after it's full