Merge pull request #41 from h0nIg/master

add TCP support to Appender
Added public accessors so the logger can be used with JBoss's logging system.
Merge pull request #45 from mogotest/jboss_as_compatible_logger

Added public accessors so the logger can be used with JBoss's logging sy...
GelfMessageFactory built an invalid message (empty short message) when extractStacktrace was enabled and the logging event didn't have a rendered message.
This prevented the message from being sent.
Fix issue #39:
Slicing of gzipped message datagrams led to NullPointerException in sun.nio.ch.DatagramChannelImpl.
In case that the gzipped message length was dividable by MAXIMUM_CHUNK_SIZE without a remainder,
the last element of the datagram array could be null.
Merge pull request #47 from zauberlabs/master

GelfMessageFactory built an invalid message
Merge pull request #48 from bjkastel/issues39

Fix for issue #39
Update pom.xml
Update build.gradle

For #43.
Added test to validate Issue #44.
Fixed Issues #44 as suggested by nts64.