upgrade code to add HTTP/HTTPS protocol registration switch to MSB