Extract Moltin\SDK\Request\CURL::toFormattedPost method
Extract Moltin\SDK\Request\CURL::toFormattedPost method

I've extracted this method from the setup method, this formats
the $post and $_FILES data to help testing.

moltin/php-sdk,ionux/php-sdk