Fixed a bug in strtok_r for MinGW
Added current db to client informations returned by CLIENT command