Client: more extensive logging and helper functions
Location: Initial support for geofences