Added NMA support, also added generic HttpStatusCode handling