Code changes to better handle CLI error output
Merge pull request #86 from tjmcs/tb/catch-more-http-errors

@jcpowermac - thanks for testing.

Fixes #85 (Slice input errors trigger Internal Server Error)