Added optional timeout setting to NXOauth2Request.