Former Whitecap signs with Red Sox