Remove Sender#getBuffer and make RawSocketSender#getBuffer thread-safe

This change is for https://github.com/fluent/fluent-logger-java/issues/26.