Add respond to test for Connection#write
Add Connection#close method

Connection#close sends QUIT command (with optional message) to the
server and closes socket.
Merge branch 'develop'