Add server side security against too long requests