Create switching_protocols.js