Use secure connection to upload amplitude data