Add SNI upload support to API