Does anyone know the object syntax for converting this IIS code to Apache?

We have a small e-commerce site that uses a 3rd party payment gateway service.
The gateway requires data to be sent via a POST over a secure socket.

We have a test version of the site running on IIS, but our hosting provider
runs Apache on Linux and as such does not support the WinHttp object.


'create POST string
PostData = "VarName1=" & varValue1 & ";VarName2=" & varValue2 ...etc

'create sockets object and send data
set objWinHttp = Server.CreateObject("WinHttp.WinHttpRequest.5")
objWinHttp.Open "POST", "" & PostData

'get response back
strResponse = objWinHttp.ResponseText

Our hosting provider is running mod_ssl and supports VBScript and ASP on
their Apache installation.

Any ideas?