java servlet: return 400 when the request cannot be parsed