tests: get stress test limit from os.environ

Default: 0x800
Environment variable: PYROUTE2_SLIMIT
nlsocket: don't use additional io.BytesIO in the Marshal
cleanup deprecated code