Without this require, even the simplest example will fail, since TCPSocket is not defined. Our tests were faking this by including openssl and socket.
Some code has been removed. Version control is not synonymous with code storage - if you're not using it now, you probably don't have working tests and the code will be buggy anyway. Write it when you need it.