The generalized Fényes-Nelson model for free scalar field theory