Maybe just do --host and --port and --tunnel if it should hit localhost and pass the host header.