Guzzle has been part of MantisBT core since 2.5.0. Using makes the code simpler and avoids the need to relyi on PHP cURL extension or a shell_exec call.