Just use XML HTTP requests (supports HTTPS) or anything other HTTP library that supports SSL.