Curl empty post data bugfix