added missing include of request.h so it would compile under mingw