Merge pull request #1791 from clebertsuconic/2.4.x

maximizing string size on Properties
BZ965093 - Thread leak test failure with IBM JRE
Merge pull request #1811 from jbertram/2.4.x

BZ965093 - Thread leak test failure with IBM JRE
HORNETQ-1395 - Misrepresentation of connection.createSession
Merge pull request #1814 from jbertram/2.4.x

HORNETQ-1395 - Misrepresentation of connection.createSession
Bug 1132196(HORNETQ-1389) - JGroupsBroadcastGroupConfiguration Serialization Problem
Merge pull request #1829 from gaohoward/2.4.x_HORNETQ-1389-2

Bug 1132196(HORNETQ-1389) - JGroupsBroadcastGroupConfiguration Serialization Problem
HORNETQ-1406 - Correctly handle direct buffers when detect protocol to use

Motivation:

The current code did not work with direct buffers as this expected to be able to access the backing array.

Modifications:

Read directly into a byte array and so make it work with all flavors of ByteBuf.

Result:

No more UnsupportedOperationException when direct buffers are used.