We should move from inheritance (done in
JAMES-516) to composition for protocols and sockets.
avalon-socket-library should be able to create a new socket service for a given protocol.
socket <-> protocol should "talk" via service interfaces and no build time link should exists.
This way we'll be able to introduce alternative socket handling libraries (like a MINA one). This is possible now that we moved to a line based push approach for the protocol: