added plumzi's implementation of MOAIUrlMgrCurl