SocketMiddleware.__call__: initialize ``environment``