sock: remove a faulty if condition (incorrect copy&paste).
Enable the detection of the MTU size on MacOS.
sock: code cleanup.
sock: code cleanup.
sock: fix a corner case where the useful payload size was not correctly calculated.
sock: code cleanup
+ correctly display the error message when sendmsg() fails.
sock: In the context of a conn_reject, do an implicit ACK of the initial conn_req to avoid resending the conn_req over and over.
sock: do not take into account RNR in the context of the connection phase.
Revert "sock: Modify the allocation of RX/TX buffers based on feedback and patch from"

This reverts commit f3fe8b63805229d072d6b991c7af4c9d766bc9f4.
Merge branch 'master' into gvallee/sock
sock: code formatting.
sock: fix a compilation warning.
sock: Correctly return the following events: CCI_EVENT_CONNECT_REQUEST, CCI_EVENT_ACCEPT, CCI_EVENT_CONNECT
+ check length of the message before actually sending it
+ code clean-up.
sock: unify the format of debug messages for the entire transport.
sock: fix a problem when returning CCI_EVENT_CONNECT events.
sock: code cleanup.
Update the debug macro to include the pid of the process (make debugging easier)
+ introduce a new debug_ep() function that is similar to debug() but adds a cci__ep_t* so debugging when dealing with multiple endpoints is easier.
sock: switch a few debug() call to debug_ep()
+ code cleanup.
sock: Correctly deal with the conn_ack in the context of a reject
+ correctly calculate the payload and make sure its size is not too big before sending a message.
Add a unit test to verify the content of messages when sending "active messages".