sm: add per-connection RMA mmap buffers

Create them when creating the connection and map them when
accepting and handling the reply.
sm: manage array of send events

instead of calloc/free. Use a lock-free bitmap to manage available
send events.