Hecke operators over local fields and an analytic approach to the geometric Langlands correspondence