It would be great if you could get it to work with the ssl_post provided by active_utils, just so that we can remove the dependency on curb.
If you think it might help to have the source (or if there is something wrong with it), you can find it here: https://github.com/Shopify/active_utils/blob/master/lib/active_utils/common/posts_data.rb#L31