set the strict flag for the in_array check for response code. fixes #41