Added FMSocket class