Rename send/recv to in/out; all signatures and docstrings are relative to their function, not the caller.