Use secure connection for client.js