added send() and recv() to Connection