Fixed issue #3 - did not set response content to 400 on semi-valid but invalid requests.