Update basic_stream_socket.