NULL: Implement ERROR handling

NULL mechanism sends ERROR command rather than READY command when ZAP
handler rejects the ZAP request (status code != "200"). The body of
ERROR command contains the status code as returned by ZAP handler.
Merge pull request #1016 from hurtonm/master

NULL: Implement ERROR handling