Implemented gpsd API calls in client. Not tested.