Changes to socket layer.