added S command to open tunnel