http: return "400 Bad Request" for invalid argument error