fix(command): ping: allow all characters for server

The pattern for matching the PING command was too restrictive
to match all possible servers (e.g. hostnames containing '-').
Fix this by simply allow all characters.

While at there, add a testcase.