Added support for GET and POST parmeters
Removed Debug logging
Fixed error message
Changed capitalization of HTTP headers