added socket connection to remote serial port