stack.applicationLayer.encode