Update architecture as socket-based.
Socket test code.