extensions: Scheme code should trim out spaces and special characters from jid