A gateway class for tunneling connections via SSH over a forwarded port