Corrected client implementation for push.
Merging #84.