Handle HTTP 501 errors

Added check and display message for HTTP 501

Fixes #94