client: handle close_notify
0.3.4