inbound socket interface is a middleware registered first in the pipeline