fixed a bug regarding the ConnectionManager HTTP response (thanks to lombao)