Converted tabs to spaces
Added more "custom" error messages + their appropriate HTTP headers