Optimization of ServerClientTokens.getHttpToken, avoid use of replaceAll
regex based and use StringBuilder char method when possible.