Minimal XioMessenger::send_message().

Implement a pair of lockless send_message() primitives in
XioMessenger, on the theory that ACK and ACK sequence can be
synthesized from XIO primitives.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Derive Connection publically from RefCountedObject.

Permit caling RefCountedObject::put from XioConnection.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Handle new/closed connection callbacks.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Add event_thread.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Enable tracing.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Run an XIO event loop regardles of binding.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Don't pass stack memory to xio_send_message.

Also, use s/sleep/nanosleep/, enable libxio trace debugging.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Remove unused XioMessenger::xio_new_session.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Implement segmented delivery.

A new concrete class XioMsg is created to encapsulate
a logical message sequence.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Move XioMsg, add encoded header, footer classes.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>