Generate a curl command from an HTTP::Request object