clipboard: add recv_all()
clipboard: Add functionality for supporting both directions