Added remote terminal through socket functionality