set empty param status code to 403
add empty param check
reorg based on Doug review
handle error 404 by catching FileNOTFoundException
add try catch and fix indentation
Merge pull request #52 from bsvensson/empty-params-check

Checking for empty parameters
Enable redirects in PHP proxy, Fixes #47
Detects and decodes encoded characters in URI and POST, Fixes #21
Make version 5.3 - 5.4.1 a warning, not fail also elseif fixes

Made a few "else if" to be "elseif".  Trying to create better habbits.
http://www.php.net/manual/en/control-structures.elseif.php
fixed missing curly bracket
Merge pull request #56 from phpmaps/enable-redirects

Enable redirects in PHP proxy, Fixes #47
Merge pull request #57 from phpmaps/detect-decode-character-encoding

Detect decode character encoding, Fixes #21
Merge pull request #54 from esoekianto/handle-404-error

handle error 404 by catching FileNOTFoundException
Merge pull request #58 from phpmaps/prerequisites-checker-relax-version-check

Prerequisites checker relax version check, Fixes #31
Pass server errors back to the client
Remove json error from status header
Merge pull request #62 from afili/DotNet-improve-server-errors

DotNet : Improve return status codes and message from server when error is encountered
modify token url logic

better handling for situations where the request to be proxied is
pointing at a Portal Url that doesn't include '/rest/'

removed explicit references to the 'proxy.config'
Added ability for proxy to look at both application root and in same folder as proxy program
Merge pull request #73 from MikeTschudi/master

Added ability for proxy to look at both application root and in same fol...