This patch adds connect and send timeout options to SocketAppenderBase class.
The current implementation does not set any timeout - Java's default is infinite. This caused our application server stop working, because all worker threads were busy (blocked by SocketAppender because of an unreachable log server).