applied fix from driskell improvement. https://github.com/driskell/logstash-forwarder/blob/features/protocol_improvements_and_server_client_improvements/lib/lumberjack/server.rb.