Use 1003 (`"CLOSE_UNSUPPORTED"`) when JSON is invalid

All other errors will use a generic 1008 code.