papi: fix async support for socket transport