Reject work on worker error (fixes #59)
Log errors on rejecting work
Server: Allow work to be rejected even when already in WORKING phase
(fixes #60)
Correctly read body of server response in case of error. Previously,
null bytes were written to log.