Moved conn.* to socket.*.