Filter invalid chars in server name
Fixes #1