non-blocking-io

Now uses the non-blocking IO. Also uses 0 as the source port, which
causes the network library to automatically find a free source port.
Simplify initialiazing a datagram by use source port 0 and letting OS
find an available port
Move looking up getTimestamp method to a static initialization block
to ensure thread safety just in case that Log4j doesn't execute this
code inside a synchronized block
Merge constructors as the todo said
Don't convert timestamp in milliseconds to Date and back to milliseconds
Make including caller file name and line number optional as Log4j
documentation warns that generating caller location information is
extremely slow and should be avoided unless execution speed is not an
issue
Merge pull request #34 from hackmann/master

Make including caller file name and line number optional
Non-blocking IO (NIO) instead of blocking io. Pull request merged.
Data encoding is not correct when you send it to stream. Fixed #35.
Version increase.
Logging with parameters are supported
Fixed problem with logging null value
Added tests for GelfHandler
Merge pull request #36 from lkmikkel/master

Added support for JDK logging messages with parameters
Fix for issue #37
Merge pull request #38 from sjoerdmulder/patch-1

Chunks are sent incorrectly
added buffer method for complete buffer, renamed other method
separate between udp and tcp sender
added tcp/udp handling
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...