Fix Connection#ping() to have clear behavior, refs GH-414