Optimized the formatting of the CONNECT command pattern.