Add 'ping' function to client library.

Allows to get name, online users and max users from a minecraft server in real-time!