d/remote: Add and use a multi-os r_socket_t typedef d/remote: Add R_SOCKET_FMT to define the printf format to use for a socket descriptor