trying to fix spacing issue

I don't know why the spacing appears askew after I try to pull request. It looks correct in my fork on my github.

https://github.com/asand017/rapache/blob/master/http-stdin.sh

tab issue resolved

removed off-topic edits and removed added whitespace

handled the case of a directory or a non-sh file being passed in