Use same request/response logic as on client side.