6616: Net Panel: Copy request as a cURL command

- improve performance of generateCurlCommand tests