Added Connection::ping() and Connection::reconnect() methods