Wrap Client in a ForeignPtr