Transform netstatus switch-statement to an object consisting of a fat-arrow function per message type. This was SVN commit r17545.