Add socket terminal support for simsoc