Add mik_send() and mik_recv()

mik_send() and mik_recv() reads as much data as they can without encountering
an end-of-file or error.