Added private field to socket