The aforementioned "roll your own everything" disease cannot be totally eliminated.
I must re-direct it' s symptoms to silly things like doing that DOS TCP/IP framework in assembly and parsing JSON streams via rolling windows in XMS (Without resorting to DOS extenders because cheating)
In theory, this will prevent at-work infections.