Escaping handle with special characters, server contract check