title: How to set messageSize of ByteArrayRawSerializer to unlimited?
body: <p>I'm using <code>ByteArrayRawSerializer</code> as a socket message deserializer.
  The message end is always indicated by the server closing the socket.</p>
  
  <p>As messages may be large, I'd like to define the messagesize of the serializer unlimited. But how?</p>
  
  <p>The following leads to a buffer overflow error:</p>
  
  <pre><code>ByteArrayRawSerializer s = new ByteArrayRawSerializer();
  s.setMaxMessageSize(Integer.MAX_VALUE);
  </code></pre>